package Question;

public class Q38_Book2 {

	private String title;
	private int allpage;
	private String writer;
	
	public Q38_Book2() {
		title = null;
		allpage = 0;
		writer = null;
	}
	public Q38_Book2(String title, int allpage, String writer) {
		this.title = title;
		this.allpage = allpage;
		this.writer = writer;
	}

	public void setTitle(String title) { this.title = title; }
	public void setAllpage(int allpage) { this.allpage = allpage; }
	public void setWriter(String writer) { this.writer = writer; }
	public String getTitle() { return title; }
	public int getAllpage() { return allpage; }
	public String getWriter() { return writer; }
}